s=0
a,b=eval(input("请输入两个整数：(逗号隔开)"))
for i in range (a,b+1):
    if i % 2 == 1 :
      s = s + i
    else:
       s = s - i
print("整数的加减和是：{}".format(s))
